﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SportsStore.Model;

namespace SportsStore.ServicesInterfaces
{
  public interface ICartItemService
  {
    void AddItem(int productId, string shoppingCartId, int quantity);
    int RemoveItem(int productId, string shoppingCartId);
    decimal ComputeTotalValue(string shoppingCartId);
    void ClearBasket(string shoppingCartId);
    IEnumerable<CartItem> GetCartItems(string cartId);
  }
}
